class StaticPagesController < ApplicationController
  # GET /static_pages
  # GET /static_pages.xml
     
  layout 'application_twoclmn' , :only=>[:index, :index_eng, :service_01, :service_01_eng, :service_02, :service_02_eng, :service_03, :service_03_eng, :service_04, :service_04_eng, :service_05, :service_05_eng]
   # , :only=>[:contact, :contact_eng, :price, :price_eng]
  
  def index    
    @lang = 'rus'
    respond_to do |format|            
      format.html # index.html.erb
    end
  end

  def service_01
    @lang = 'rus'
    respond_to do |format|
      format.html
    end    
  end
  
  def service_02
    @lang = 'rus'
    respond_to do |format|
      format.html
    end    
  end
  
      def service_02_1
        @lang = 'rus'
        respond_to do |format|
          format.html { render :layout => 'application_oneclmn'}
        end    
      end

      def service_02_2
        @lang = 'rus'
        respond_to do |format|
          format.html { render :layout => 'application_oneclmn'}
        end    
      end

      def service_02_3
        @lang = 'rus'
        respond_to do |format|
          format.html { render :layout => 'application_oneclmn'}
        end    
      end

  def service_03
    @lang = 'rus'
    respond_to do |format|
      format.html
    end    
  end

  def service_04
    @lang = 'rus'
    respond_to do |format|
      format.html
    end    
  end

#  def service_05
#    @lang = 'rus'
#    respond_to do |format|
#      format.html 
#    end    
#  end

  def service_05
    @lang = 'rus'
    session[:question] ||= ''
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'}
    end    
  end
  
  def price
    @lang = 'rus'
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'} 
    end    
  end

  def contact
    @lang = 'rus'
    respond_to do |format|
      format.html {render :layout => 'application_oneclmn'} 
    end    
  end

  def about
    @lang = 'rus'
    respond_to do |format|
      format.html {render :layout => 'application_oneclmn'} 
    end 
  end
  
  def pd4
    @lang = 'rus'
    respond_to do |format|
      format.html {render :layout => nil}
    end    
  end

  
  def index_eng
    @lang = 'eng'
    respond_to do |format|
      format.html
    end
  end

  def service_01_eng
    @lang = 'eng'
    respond_to do |format|
      format.html 
    end    
  end
  
  def service_02_eng
    @lang = 'eng'
    respond_to do |format|
      format.html 
    end    
  end

  def service_03_eng
    @lang = 'eng'
    respond_to do |format|
      format.html
    end    
  end

  def service_04_eng
    @lang = 'eng'
    respond_to do |format|
      format.html 
    end    
  end
#
#  def service_05_eng
#    @lang = 'eng'
#    respond_to do |format|
#      format.html 
#    end    
#  end

  def service_05_eng
    @lang = 'eng'
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'}
    end    
  end
  
  def price_eng
    @lang = 'eng'
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'}
    end    
  end

  def contact_eng
    @lang = 'eng'
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'} 
    end    
  end  
  
  def about_eng
    @lang = 'eng'
    respond_to do |format|
      format.html { render :layout => 'application_oneclmn'}
    end    
  end
  
end
